package com.itheima.vmmysql.Service.Impl;

import com.itheima.vmmysql.Mapper.DataBasesMapper;
import com.itheima.vmmysql.Service.DataBasesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.stream.Collectors;

@Service
public class DataBasesImpl implements DataBasesService {
    @Autowired
    private DataBasesMapper dataBasesMapper;

    @Override
    public List<String> databaseList() {

        return dataBasesMapper.databaseList();
    }
}
